$(function(){
 
 /**************************************************/
  /***Handle Button Category Horizontal Scrolling****/
  /**************************************************/
  
  var no_delay = 0,
  t2, win2= $('#cat_div'),
  kiri = $('#kiri'),
  kanan = $('#kanan'),
  winW = win2.height()+5, 
  bottom = win2[0].scrollHeight - winW;
 
  kiri.click(function(){
    var t2 = win2.scrollTop();
    if (t2 - winW <= 0) {
		t2 = 0;
    } 
	//alert('pu : scroll left : '+(t2 - winW));
	if (t2>0){	
		win2.animate({ scrollTop: t2 - winW}, no_delay);
	} else {
	//	alert('U r at first Items..');
	}
  })
 

  kanan.click(function(){
    var t2 = win2.scrollTop();
    if (t2 + winW >= bottom) {
		t2 = bottom;
    } 
	//	alert('pd : scroll right : '+(t2 + winW));
	if (t2<=bottom){
		win2.animate({ scrollTop: t2 + winW}, no_delay);
   	} else {
	//	alert('U r at last iterms..');
	}
	

  });
  
  
  })